package com.xp.tinyurl.dao;

import com.xp.tinyurl.common.conf.db.MyMapper;
import com.xp.tinyurl.model.Register;
import org.springframework.stereotype.Repository;



/**
 * @author liuxw
 * @date 2019/3/28
 * @since 1.0
 */
@Repository
public interface AppRegisterDao extends MyMapper<Register> {

//    public Integer save(Register entity) {
//        return (Integer) super.insert("shortUrlRegisterMap.register",entity);
//    }
//
//    public Integer update(Register entity) {
//        return super.update("shortUrlRegisterMap.updateRegister", entity);
//    }
//
//    public List<Register> getPageList(Map map) {
//        return super.queryForList("shortUrlRegisterMap.getListByAccurateParam",map);
//    }
//
//    public Integer getPageListCount(Map map) {
//        return (Integer)super.queryForObject("shortUrlRegisterMap.getListCountByAccurateParam",map);
//    }
//
//    public Register getAppRegisterByAppKey(String appKey) {
//        return (Register)super.queryForObject("shortUrlRegisterMap.getAppRegisterByAppKey", appKey);
//    }

}
